<?php if(is_array($this->banners) && count($this->banners) > 0) {?>
<ul class="listGallery">
    <?php foreach ($this->banners as $banner) :?>
	<li>
        <a href="<?php echo $this->staticUrl . '/' . $banner['image'];?>" data-lightbox="lightbox<?php echo $banner['id']?>" rel="flowers<?php echo $banner['id']?>">
                <img src="<?php echo $this->staticUrl . '/' . $banner['image'];?>"
                    width="<?php echo $banner['width'];?>" height="<?php echo $banner['height'];?>" class="imgGalleryList"/>
                <span class="borderGalleryList"></span>
        </a>
        <!-- Image -->
        <?php $images = $banner['images'];
            if(is_array($images) && count($images) > 0) {
            foreach ($images as $image) :
        ?>
            <a href="<?php echo $this->staticUrl . '/' . $image['image'];?>" data-lightbox="lightbox<?php echo $banner['id']?>" rel="flowers<?php echo $banner['id']?>" style="display: none;">
                    <img src="<?php echo $this->staticUrl . '/' . $image['image'];?>"
                        width="<?php echo $image['width'];?>" height="<?php echo $image['height'];?>" class="imgGalleryList"/>
                    <span class="borderGalleryList"></span>
            </a>
        <?php endforeach;}?>
        <!-- End image -->
       <h3><?php echo $banner['name']?></h3>
    </li>
    <?php endforeach;?>
</ul>
<div class="clear"></div>
<?php echo $this->paginationcontrolcourse($this->page, $this->totalItem, $this->numRowPerPage, 'paginationajaxforcustomer.phtml', null, null, null, null, null,$this->position);?>
<div class="clear"></div>
<?php }?>